package cn.wolfcode.luowowo.common.query;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter @Setter
public class QueryObject implements Serializable{
    private Integer pageSize = 5;
    private Integer currentPage = 1;

    private String keyword;

    public String getKeyword(){
        if(keyword==null || keyword.trim().equals("")){
            return null;
        }
        return keyword;
    }
}
